import { createNativeStackNavigator } from '@react-navigation/native-stack'
import shop_info from './shop_info'
import pay from './pay'
import WeiChatPay from './WeiChatPay'
import { PayProvider } from '../AppContext';
const Stack = createNativeStackNavigator()

export default function LoginLayout() {
  return (
    <PayProvider>
      <Stack.Navigator screenOptions={{ headerShown: true }}>
        {/* 商品详细 */}
        <Stack.Screen name="商品详细" component={shop_info} />
        <Stack.Screen name="pay" component={pay} />
        <Stack.Screen name="WeiChatPay" component={WeiChatPay} />
      </Stack.Navigator>
    </PayProvider>
  )
}
